﻿@model IPagedList<MemberExam>
@using EraNet.Core;
@using EraNet.InfoSys;
@using EraNet.InfoSys.Extensions;
@using EraNet.InfoSys.Models.Common;
@using EraNet.Core.Model.Test;
@{
    Layout = "~/Areas/IMS/Views/Shared/_LayOut.cshtml";
}
@section javascript
{

}
<div class="wrapper">
<!-- Left column/section -->
<section class="column width6 first">					
					
<h3>Expandable table rows</h3>
<div class="box box-info">Click on a link to expand the row</div>

<table class="display stylized" id="example">
<thead>
<tr>
<th>用户名</th>
<th>考试科目</th>
<th>通过次数(s)</th>
<th>最高得分</th>
<th>查看详情</th>
</tr>
</thead>
<tbody>
@foreach (var m in Model)
{
<tr class="gradeX">
<td>@m.MemberName</td>
<td>@Html.Raw(m.ExaminationType==1?"科目一":"科目四")</td>
<td>@m.PassNum</td>
<td class="center">@m.LastScore</td>
<td class="center">X</td>
</tr>
}

</tbody>
<tfoot>
<tr>
<th colspan="5">@{
var pager = @Html.Pager(new PagerModel()
{
PageSize = Model.PageSize,
TotalRecords = Model.TotalCount,
PageIndex = Model.PageIndex,
ShowTotalSummary = false,
RouteActionName = "CertExamInfo",
UseRouteLinks = true,
RouteValues = new RouteValues { page=2}
});
}
@pager</th>
</tr>
</tfoot>
</table>				
<div class="clear">&nbsp;</div>				
</section>
<!-- End of Left column/section -->
<!-- Right column/section -->
<aside class="column width2">
<div id="rightmenu">
<header>
<h3>You might also want to check out...</h3>
</header>
<dl class="first">
<dt><img width="16" height="16" alt="Basic styles" SRC="img/style.png"></dt>
<dd><a HREF="styles.html">Basic styles</a></dd>
<dd class="last">Basic elements and styles</dd>							
<dt><img width="16" height="16" alt="" SRC="img/book.png"></dt>
<dd><a HREF="http://www.865171.cn">www.865171.cn</a></dd>
<dd class="last">Datatable documentation</dd>
</dl>
</div>
<div class="content-box">
<header>
<h3>Tables</h3>
</header>
<section>Try other alternatives:<br/>
<dl>
<dt></dt>
<dd><a HREF="http://www.865171.cn">www.865171.cn</a></dd>
</dl>
</section>
</div>
</aside>
<!-- End of Right column/section -->
</div>

